Create DML Right Join in dataset.
DML Right-Join tutorial: From this document you will learn to create the DML dataset which contains right join, here the right join connects the multiple tables to make the DML dataset.
Follow steps to create DML Right-join dataset in AIV:-
- Go to Dataset section, Click on Create DML from bottom menu bar. As shown in figure below:
- The Create Data Module dialog box looks as shown in figure below:
- Enter Following detail in DML Module dialog box:
- Name: DML Right Join
- Source: ClassicModels
- Expend tables from left side table view, As shown in figure below:
- Drag and Drop the CUSTOMERS table from the Table list to Right side diagram box, then select all the columns of CUSTOMERS table, click on submit button.
- After submitting, the diagram box will look like the figure below:
- Drag and drop the OFFICES from the left table menu to right diagram box. as shown in figure below:
- Select all the column from OFFICES table, and click submit button.
- After adding CUSTOMERS and OFFICES from the table list, the diagram box looks like the figure below:
- Drag the COUNTRY column from Customers to Offices.
- Click on the thread between two tables, to add DML configuration.
- The DML configuration control box will open, Select the Right Join radio button and click on Submit button, as shown in figure below:
- The Connection between two tables will looks as shown in figure below:
Note: Click on Submit to save the dataset.
- Create Dashboard from the Visualization section. Example name: DML Right Join, as shown in figure below:
- After loading the Dashboard, Find Analysis Icon from the left vertical menu bar, click on the icon to load analysis widget in dashboard.
- The Analysis widget will get load in dashboard automatically after clicking on the analysis icon. > Select the Dataset(dml): DML Right Join.
- Click on Field icon from Analysis widget, then the Analysis Selection dialog box will open, as shown in figure below:
- The two table will get load the left side box of DML view, Now expends the OFFICES table.
- Drag and drop Country column in the Rows box, the Values box will take the Count of Country automatically as you drag the country in Rows click on the Save to see the reflection of the selected data in widget.
- The output of the widget will look like available figure below: